<?php
/*
 * @Author: your name
 * @Date: 2022-01-11 16:52:38
 * @LastEditTime: 2022-01-11 16:58:20
 * @LastEditors: Please set LastEditors
 * @Description: 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 * @FilePath: \www.wy.com\app\common\lib\Status.php
 */
namespace app\common\lib;

class Status
{
    public static function show($status, $msg, $data = [], $httpStatus = 200)
    {
        $statucInfo = [
            'status' => $status,
            'msg' => $msg,
            'data' => $data
        ];

        return json($statucInfo, $httpStatus);
    }
}
